﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/MainPage.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="ContractManagementSystem.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Presentation/TableStyleSheet.css" rel="stylesheet" type="text/css" />
    <script src="../Presentation/JScripts.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    <script type="text/javascript" language="javascript">
        function confirmDelete() {
            return confirm("Are you sure to delete this user ?");
        }
    </script>
    <h1 style="font-family: Vivaldi">
        Administrator Management</h1>
    <p>
        Username:
        <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
        Email:
        <asp:TextBox ID="Email" runat="server"></asp:TextBox>
        <asp:Button ID="Search" runat="server" Text="Search" /></p>
    <table cellspacing="0" cellpadding="0">
        <tr>
            <th>
                Username
            </th>
            <th>
                Password
            </th>
            <th>
                Email
            </th>
            <th>
                Role
            </th>
            <th>
                Status
            </th>
            <th>
            </th>
            <th>
            </th>
            <th>
            </th>
        </tr>
        <tr>
            <td>
                admin
            </td>
            <td>
                admin
            </td>
            <td>
                admin@gmail.com
            </td>
            <td>
                Administrator
            </td>
            <td>
                Active
            </td>
            <td>
                <asp:HyperLink ID="Edit" runat="server" NavigateUrl="EditUser.aspx" ImageUrl="~/Presentation/Images/edit.jpg"
                    ToolTip="edit"></asp:HyperLink>
            </td>
            <td>
                <asp:ImageButton ID="ImageButton4" runat="server" PostBackUrl="###" ImageUrl="~/Presentation/Images/delete.png"
                    ToolTip="delete" OnClientClick="return confirmDelete();" />
            </td>
            <td>
                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="###" ImageUrl="~/Presentation/Images/details.jpg"
                    ToolTip="Details"></asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                contractor
            </td>
            <td>
                contractor
            </td>
            <td>
                contractor@gmail.com
            </td>
            <td>
                Contractor
            </td>
            <td>
                Active
            </td>
            <td>
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="EditUser.aspx" ImageUrl="~/Presentation/Images/edit.jpg"
                    ToolTip="edit"></asp:HyperLink>
            </td>
            <td>
                <asp:ImageButton ID="ImageButton3" runat="server" PostBackUrl="###" ImageUrl="~/Presentation/Images/delete.png"
                    ToolTip="delete" OnClientClick="return confirmDelete();" />
            </td>
            <td>
                <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="###" ImageUrl="~/Presentation/Images/details.jpg"
                    ToolTip="Details"></asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                contractor
            </td>
            <td>
                contractor
            </td>
            <td>
                contractor@gmail.com
            </td>
            <td>
                Contractor
            </td>
            <td>
                Active
            </td>
            <td>
                <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="EditUser.aspx" ImageUrl="~/Presentation/Images/edit.jpg"
                    ToolTip="edit"></asp:HyperLink>
            </td>
            <td>
                <asp:ImageButton ID="ImageButton2" runat="server" PostBackUrl="###" ImageUrl="~/Presentation/Images/delete.png"
                    ToolTip="delete" OnClientClick="return confirmDelete();" />
            </td>
            <td>
                <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="###" ImageUrl="~/Presentation/Images/details.jpg"
                    ToolTip="Details"></asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                client
            </td>
            <td>
                client
            </td>
            <td>
                client@gmail.com
            </td>
            <td>
                Client
            </td>
            <td>
                InActive
            </td>
            <td>
                <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="EditUser.aspx" ImageUrl="~/Presentation/Images/edit.jpg"
                    ToolTip="edit"></asp:HyperLink>
            </td>
            <td>
                <asp:ImageButton ID="ImageButton1" runat="server" PostBackUrl="###" ImageUrl="~/Presentation/Images/delete.png"
                    ToolTip="delete" OnClientClick="return confirmDelete();" />
            </td>
            <td>
                <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="###" ImageUrl="~/Presentation/Images/details.jpg"
                    ToolTip="Details"></asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td>
                client
            </td>
            <td>
                client
            </td>
            <td>
                client@gmail.com
            </td>
            <td>
                Client
            </td>
            <td>
                InActive
            </td>
            <td>
                <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="EditUser.aspx" ImageUrl="~/Presentation/Images/edit.jpg"
                    ToolTip="edit"></asp:HyperLink>
            </td>
            <td>
                <asp:ImageButton ID="delete" runat="server" PostBackUrl="###" ImageUrl="~/Presentation/Images/delete.png"
                    ToolTip="delete" OnClientClick="return confirmDelete();" />
            </td>
            <td>
                <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="###" ImageUrl="~/Presentation/Images/details.jpg"
                    ToolTip="Details"></asp:HyperLink>
            </td>
        </tr>
    </table>
    <p style="text-align:right; color:Black">
    <a>Previous</a>&nbsp;&nbsp;&nbsp;<a>1</a>&nbsp;&nbsp;&nbsp;<a>2</a>&nbsp;&nbsp;&nbsp;<a>3</a>&nbsp;&nbsp;&nbsp;<a>Next</a>
    </p>
</asp:Content>
